module FRM_SCRAMBLE_COE ;


reg[6:0]            SCRAMBLE_SHIFT_REG;
reg[63:0]           SCRAMBLE_WORD64;
reg                 SCRAMBLE_FACTOR;
integer             i, j;

initial begin
   $display("memory_initialization_radix = 16;");
   $display("memory_initialization_vector =");
   SCRAMBLE_SHIFT_REG[6:0]       =7'b111_1111;
   SCRAMBLE_WORD64[63:0]         =64'd0;
   for (i=0; i<127; i=i+1 ) begin
      for (j=63; j>=0; j=j-1) begin
         SCRAMBLE_WORD64[j]      =SCRAMBLE_SHIFT_REG[6];

         SCRAMBLE_FACTOR         =SCRAMBLE_SHIFT_REG[6] ^ SCRAMBLE_SHIFT_REG[5];
         SCRAMBLE_SHIFT_REG[6:1] =SCRAMBLE_SHIFT_REG[5:0];
         SCRAMBLE_SHIFT_REG[0]   =SCRAMBLE_FACTOR;
      end
      $display("%h", SCRAMBLE_WORD64);
   end
   $display("0000000000000000");
end



endmodule 


